#!/usr/bin/python

'''
num = input("please input a num(1-100):")

if num.isdigit():
    if 1 <= int(num) <= 100:
        print(num)
    else:
        print("please input num(0-100)")
elif num.isalpha():
    print("please input num(1-100)!")
else:
    print("please don't input special character!")
'''
try:
    num = input("please input a num(1-100):")
    if not num.isdigit():
        raise TypeError
    else:
        if 1 <= int(num) <= 100:
            print(num)
        else:
            raise ValueError
except TypeError:
    print("please don't input special character or alphabet")
except ValueError:
    print("please input number in range of 1-100")
